#include<stdio.h>
int main()
{
	int n;
	scanf("%d", &n);
	int day = n % 5;
	
	if(day != 0 && day <= 3)
	{
		printf("Fishing in day %d\n", n);
	}
	else
	{
		printf("Drying in day %d\n", n);
	}
	
	return 0;
} 
